package com.lmqb.bean;

import java.math.BigDecimal;

import java.util.Date;



/*
 * 催收记录
 * */
public class JCollection {
	
    private Integer recId; //催收记录

    private Integer userId; //用户id

    private String userName; //用户名

    private String userMobile; //手机号

    private BigDecimal loanAmount; //借款金额

    private Integer loanTime;  //借款时间

    private Integer planRepayTime; //预计还款时间

    private Short overdueDays;  //逾期天数

    private BigDecimal shouldAmount;  //应还本金+服务费

    private Integer adminId; //管理员

    private String adminName; //管理员姓名

    private Byte status;  //状态。0：待催收。1：催收成功。2：失败'

    private String answer; //客户回复

    private String remark;  //备注

    private String repayNo; //还款订单号

    private Date createTime; //添加时间（催收时间、备注时间）
    
    private Date loanTimeD; 
    
    private Date planRepayTimeD;
    
    private Byte repayStatus; //还款状态
    
     
 
    public JCollection() {
		super();
	}

    
    
	public JCollection(Integer userId, String userName, String userMobile,
			BigDecimal loanAmount, Integer loanTime, Integer planRepayTime,
			Short overdueDays, String adminName, String remark, String repayNo,
			Byte repayStatus) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userMobile = userMobile;
		this.loanAmount = loanAmount;
		this.loanTime = loanTime;
		this.planRepayTime = planRepayTime;
		this.overdueDays = overdueDays;
		this.adminName = adminName;
		this.remark = remark;
		this.repayNo = repayNo;
		this.repayStatus = repayStatus;
	}



	public Byte getRepayStatus() {
		return repayStatus;
	}

	public void setRepayStatus(Byte repayStatus) {
		this.repayStatus = repayStatus;
	}

	public Date getLoanTimeD() {
		return loanTimeD;
	}

	public void setLoanTimeD(Date loanTimeD) {
		this.loanTimeD = loanTimeD;
	}

	public Date getPlanRepayTimeD() {
		return planRepayTimeD;
	}

	public void setPlanRepayTimeD(Date planRepayTimeD) {
		this.planRepayTimeD = planRepayTimeD;
	}

	public Integer getRecId() {
        return recId;
    }

    public void setRecId(Integer recId) {
        this.recId = recId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile == null ? null : userMobile.trim();
    }

    public BigDecimal getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(BigDecimal loanAmount) {
        this.loanAmount = loanAmount;
    }

    public Integer getLoanTime() {
        return loanTime;
    }

    public void setLoanTime(Integer loanTime) {
        this.loanTime = loanTime;
    }

    public Integer getPlanRepayTime() {
        return planRepayTime;
    }

    public void setPlanRepayTime(Integer planRepayTime) {
        this.planRepayTime = planRepayTime;
    }

    public Short getOverdueDays() {
        return overdueDays;
    }

    public void setOverdueDays(Short overdueDays) {
        this.overdueDays = overdueDays;
    }

    public BigDecimal getShouldAmount() {
        return shouldAmount;
    }

    public void setShouldAmount(BigDecimal shouldAmount) {
        this.shouldAmount = shouldAmount;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName == null ? null : adminName.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer == null ? null : answer.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getRepayNo() {
        return repayNo;
    }

    public void setRepayNo(String repayNo) {
        this.repayNo = repayNo == null ? null : repayNo.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	@Override
	public String toString() {
		return "JCollection [recId=" + recId + ", userId=" + userId
				+ ", userName=" + userName + ", userMobile=" + userMobile
				+ ", loanAmount=" + loanAmount + ", loanTime=" + loanTime
				+ ", planRepayTime=" + planRepayTime + ", overdueDays="
				+ overdueDays + ", shouldAmount=" + shouldAmount + ", adminId="
				+ adminId + ", adminName=" + adminName + ", status=" + status
				+ ", answer=" + answer + ", remark=" + remark + ", repayNo="
				+ repayNo + ", createTime=" + createTime + ", loanTimeD="
				+ loanTimeD + ", planRepayTimeD=" + planRepayTimeD
				+ ", repayStatus=" + repayStatus + "]";
	}
    
    
}